package com.android.Bean;

import java.sql.SQLException;

import com.android.DBTools.ADUS;
import com.android.DBTools.DBConnection;

public class FeedbackBean {
	public void insertFeedback(String feedTitle, String feedContent) throws ClassNotFoundException, SQLException {
		String sql = "INSERT INTO feedbackask (feedID,feedTitle,feedContent) VALUES (NULL,\"" + feedTitle + "\",\"" + feedContent + "\")";
		System.out.println(sql);
		ADUS.insertData(sql);
		DBConnection.closeCon();
	}
}
